#ifndef TREENODE_H
#define TREENODE_H

#include <string>
#include <map>

class TreeNode
{
public:
    TreeNode();
    TreeNode(float);
    TreeNode(std::string);
    std::map<std::string, TreeNode*> childs;
    std::string op;
    float val_num;
    std::string val_str;
    bool var;
    float calc(std::map<std::string, float>);
};

#endif // TREENODE_H
